package com.itheima.tanhua.dubbo.api;

import com.itheima.tanhua.model.domain.UserInfo;

import java.util.List;
import java.util.Map;

public interface UserInfoApi {

    void save(UserInfo userInfo);

    void update(UserInfo userInfo);

    UserInfo findById(Long userId);

    //List<UserInfo> findByIds(List<Long> userIds, UserInfo user);

    Map<Long, UserInfo> findByIds(List<Long> userIds, UserInfo user);
}
